package com.ruoyi.decision.mapper;

import java.util.List;
import com.ruoyi.decision.domain.LaunchDecision;

/**
 * 发起与决策Mapper接口
 * 
 * @author beefcake
 * @date 2021-10-22
 */
public interface LaunchDecisionMapper 
{
    /**
     * 查询发起与决策
     * 
     * @param id 发起与决策主键
     * @return 发起与决策
     */
    public LaunchDecision selectLaunchDecisionById(Long id);

    /**
     * 查询发起与决策列表
     * 
     * @param launchDecision 发起与决策
     * @return 发起与决策集合
     */
    public List<LaunchDecision> selectLaunchDecisionList(LaunchDecision launchDecision);

    /**
     * 新增发起与决策
     * 
     * @param launchDecision 发起与决策
     * @return 结果
     */
    public int insertLaunchDecision(LaunchDecision launchDecision);

    /**
     * 修改发起与决策
     * 
     * @param launchDecision 发起与决策
     * @return 结果
     */
    public int updateLaunchDecision(LaunchDecision launchDecision);

    /**
     * 删除发起与决策
     * 
     * @param id 发起与决策主键
     * @return 结果
     */
    public int deleteLaunchDecisionById(Long id);

    /**
     * 批量删除发起与决策
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLaunchDecisionByIds(Long[] ids);
}
